package com.cloudkinto.vo.wr.qs;

import com.cloudkinto.vo.wr.QsCustomerEtVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class QsEt {
    @ApiModelProperty("报价方案名称 审核通过 就不能修改了")
    private String quotationName;

    /**
     * 0应收 1应付
     */
    @ApiModelProperty("类型 0应收 1应付")
    private Integer quotationType;

    @ApiModelProperty("仓库")
    private Long storageId;


    /**
     * 生效时间
     */
    @ApiModelProperty("生效时间  yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+9")
    private Date effectiveTime;

    /**
     * 失效时间
     */
    @ApiModelProperty("失效时间 yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+9")
    private Date invalidTime;

    @ApiModelProperty("tips")
    private String tips;
    @ApiModelProperty("客户 记得校验客户只能拥有一个报价方案")
    private List<QsCustomerEtVo> customers;

}
